﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Pager.ascx.cs" Inherits="MRS.WebUI.CustomerControl.Pager" %>
<div id="AutoPageControl" align="center">
     第<asp:Label ID="lblCurrentPageIndex" runat="server"></asp:Label>页&nbsp;
        共<asp:Label ID="lblAllPageCount" runat="server"></asp:Label>页&nbsp; 
        <asp:LinkButton ID="lnkHeadPage" runat="server" CommandName="Page" Text="首页" 
            CommandArgument="Head" onclick="lnkHeadPage_Click" ></asp:LinkButton>&nbsp;
       <asp:LinkButton ID="lnkbtnPrev" runat="server" CommandName="Page" Text="上一页" 
            CommandArgument="Prev" onclick="lnkbtnPrev_Click" ></asp:LinkButton>&nbsp;
       <asp:LinkButton ID="lnkbtnNext" runat="server" CommandName="Page" Text="下一页" 
            CommandArgument="Next" onclick="lnkbtnNext_Click"  ></asp:LinkButton>&nbsp;
        <asp:LinkButton ID="lnkbtnLastPage" runat="server" CommandName="Page" Text="末页" 
            CommandArgument="Last" onclick="lnkbtnLastPage_Click"></asp:LinkButton>&nbsp;
       跳转到第<asp:TextBox ID="txtGoPage" runat="server" CssClass="inp" Width="20" Height="18" ></asp:TextBox>页<asp:LinkButton
           ID="lnkbtnGo" runat="server" onclick="lnkbtnGo_Click">GO</asp:LinkButton>&nbsp;
       每页显示<asp:DropDownList ID="drpPageSize"  runat="server" AutoPostBack="True" 
            onselectedindexchanged="drpPageSize_SelectedIndexChanged">
            <asp:ListItem Value="5">5</asp:ListItem>
            <asp:ListItem Value="10">10</asp:ListItem>
            <asp:ListItem Value="20">20</asp:ListItem>
            <asp:ListItem Value="30">30</asp:ListItem>
            <asp:ListItem Value="40">40</asp:ListItem>
            <asp:ListItem Value="50">50</asp:ListItem>
        </asp:DropDownList>条&nbsp;
</div>
